<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="aaa">
    <p><input type="text" v-model="number"></p>
    <p>{{name}} 你真帅</p>
    <p>{{number}}个猴子想给你生猴子</p>

    <p><input type="button" value="点我" @click="clickMe()"></p>
</div>
</body>
</html>
<script src="./node_modules/vue/dist/vue.js"></script>
<script type="text/javascript">
    let dataobj = {
        name: "吴义胜",
        number:0
    };
    let aa = new Vue({
        el:"#aaa",
        data:dataobj,
        methods:{
            clickMe(){
                this.number++
            }
        }
    })
</script>